:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  font-size: 12px;
  /* If the fixed height is inappropriate, it will cause the browser cursor to select text, and the highlight background overlap */
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  /* https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing */
  /* If the box model does not have width and height set,
  it will be the same as content-box */
  box-sizing: border-box;
}

video,
svg {
  display: block;
}

body {
  margin: 0;
}

#root {
  contain: strict;

  position: relative;

  width: 100vw;
  height: 100vh;
}
